<?php

class ridersModel extends commonModel {

    public function __construct() {
        $this->initialDB();
    }


    public function uploadDir($file_name) {
        $file_dir = Data::$_pic_path.$file_name;
        $doc_dir = FileUpload::setUploaddir('index.php', $file_dir); // C:/wamp/www/sample/
        $dir = $doc_dir . $file_dir;
        return $dir;
    }

}
